package com.sqx.modules.repairRecord.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sqx.common.utils.Result;
import com.sqx.modules.repairRecord.entity.RepairRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author www.javacoder.top
 * @since 2022-12-12
 */
public interface RepairRecordService extends IService<RepairRecord> {

    IPage<RepairRecord> getRecordList(Integer page, Integer limit, RepairRecord repairRecord);

    Result getOrderByRecord(Integer orderType,String orderNo);

    Result refundRepair(Long userId, Long recordId);


    List<RepairRecord> getRecordByOrderNo(Integer orderType, String orderNo);
}
